/*
 * Copyright (C) 2014-2016 OpenKeeper
 *
 * OpenKeeper is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * OpenKeeper is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with OpenKeeper.  If not, see <http://www.gnu.org/licenses/>.
 */
package toniarts.openkeeper.world.object;

import toniarts.openkeeper.game.player.PlayerSpell;
import toniarts.openkeeper.tools.convert.map.GameObject;
import toniarts.openkeeper.world.TileData;
import toniarts.openkeeper.world.WorldState;

/**
 * Represents a player spell in the world
 *
 * @author Toni Helenius <helenius.toni@gmail.com>
 */
public class SpellBookObjectControl extends ObjectControl {

    private final PlayerSpell playerSpell;

    public SpellBookObjectControl(TileData tile, GameObject object, WorldState worldState, PlayerSpell playerSpell) {
        super(tile, object, worldState);

        this.playerSpell = playerSpell;
        this.playerSpell.setSpellBookObjectControl(this);
    }

    @Override
    public String getTooltip(short playerId) {
        return "";
    }

}
